package com.tanhua.manage.domain;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Field;

import java.sql.Date;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class AdminLog {

    @TableId(type = IdType.AUTO)
    private String id;
    private String addressIp; //地址ip
    private Long operUserId; //操作用户id
    private String operUserName; //操作用户名
    private String operMethodName; //操作方法
    private String operParameter; //参数
    private String operUrl; //操作url路径
    private LocalDateTime created; //操作的时间
    private Long timeConsuming; //耗时
    private String operModul;
    private String operType;
}
